<template>
  <view class="st-container">
    <view class="st-icon"></view>
    <view class="st-text">
      <slot></slot>
    </view>
  </view>
</template>

<script>
export default {
  name: "SubTitle"
}
</script>

<style lang="scss" scoped>
.st-container{
  height: 38rpx;
  width: 100%;  
  // border: 1px solid pink;
}
.st-icon{
  box-sizing: border-box;
  height: 36rpx;
  width: 8rpx;
  background: #2289FF;
  float: left;
  margin-right:12rpx;
}
.st-text{
  height: 36rpx;
  line-height: 36rpx;
  float: left;
  color:#303133;
  font-size: 28rpx;
  font-weight: 700;
  font-family: 'PingFang SC';
}
</style>